<!DOCTYPE HTML>
<html lang="en">
<head>
  <meta name="copyright" content=
  "Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
  <meta charset="utf-8">
  <link rel="STYLESHEET" href="../book.css" type="text/css">
  <title>Changing Fonts and Colors</title>
  <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
</head>
<body>
  <h1>Changing Fonts and Colors</h1>
  <p>By default, the Workbench uses the fonts and colors provided by the operating system. However, there are a number
  of ways that this behavior can be customized.</p>
  <h2>Fonts</h2>
  <p>The Workbench lets you directly configure the following fonts:</p>
  <dl>
    <dt>Banner Font</dt>
    <dd>Used in PDE editors, welcome pages and in the title area of many wizards. For instance the New Project wizard
    uses this font for the top title.</dd>
    <dt>Dialog Font</dt>
    <dd>Used for widgets in dialogs.</dd>
    <dt>Header Font</dt>
    <dd>Used as a section heading. For instance the Welcome page for the Eclipse Platform uses this font for the top
    title.</dd>
    <dt>Text Font</dt>
    <dd>Used in text editors.</dd>
    <dt>Ignored Resource Font</dt>
    <dt>Outgoing Change Font</dt>
    <dt>Console Font (defaults to text font)</dt>
    <dd>Used by the debug console.</dd>
    <dt>Detail Pane Text Font (defaults to text font)</dt>
    <dd>Used in the detail panes of debug views.</dd>
    <dt>Memory View Table Font (defaults to text font)</dt>
    <dd>Used in the table of the memory view.</dd>
    <dt>Java Editor Text Font (defaults to text font)</dt>
    <dd>Used by Java editors.</dd>
    <dt>Properties File Editor Text Font (defaults to text font)</dt>
    <dd>Used by Properties File editors.</dd>
    <dt>Compare Text Font (defaults to text font)</dt>
    <dd>Used by textual compare/merge tools.</dd>
    <dt>Java Compare Text Font (defaults to text font)</dt>
    <dd>Used by Java compare/merge tools.</dd>
    <dt>Java Properties File Compare Text Font (defaults to properties file editor text font )</dt>
    <dd>Used by Java properties file compare/merge tools.</dd>
    <dt>Part Title Font (defaults to properties file editor text font )</dt>
    <dd>Used for view and editor titles. <strong>Note:</strong> It is recommended that this font not be bold or italic
    because the workbench will use bold and italic versions of this font to display progress.</dd>
    <dt>View Message Font (defaults to properties file editor text font )</dt>
    <dd>Used for messages in the view title bar (if present).</dd>
  </dl>
  <p>To change these fonts:</p>
  <ol>
    <li>Open the <a class="command-link" href=
    'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.ColorsAndFonts)")'>
    <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General &gt; Appearance &gt;
    Colors and Fonts</b></a> preference page.</li>
    <li>Select the font you want to change.</li>
    <li>Click <b>Edit...</b></li>
    <li>Use the dialog which opens to select a font.</li>
    <li>Click <b>OK</b>.</li>
  </ol>
  <p><strong>Note:</strong> You can also click <b>Use System Font</b> to set the font to a reasonable value chosen by
  the operating system. For example, on Windows this will use the font selected in the Display Properties control
  panel.</p>
  <p>Plug-ins that use other fonts may also provide preference entries to allow them to be customized. For example, the
  Java development tools provide a setting for controlling the font used by the Java editor (see <b>Java &gt; Java
  Editor Text Font</b> on the preferences page).</p>
  <p>In addition to the above, some text is always displayed in the system font. For example, the navigator tree always
  does this. To change the font used in these areas, you can use the configuration tools provided by the operating
  system (for example, the Display Properties control panel on Windows, or the .Xdefaults file in Motif).</p>
  <h2>Colors</h2>
  <p>To set the colors used by the Workbench to display error text and hyperlink text:</p>
  <ol>
    <li>Open the <a class="command-link" href=
    'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.ColorsAndFonts)")'>
    <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General &gt; Appearance &gt;
    Colors and Fonts</b></a> preference page.</li>
    <li>Select the color you want to change in the tree view and click the color bar on the right.</li>
    <li>Use the dialog which opens to select a color.</li>
    <li>Click <b>OK</b>.</li>
  </ol>
  <p>Plug-ins that use other colors may also provide preference entries to allow them to be customized. For example,
  the searching support provides a preference for controlling the color used to display potential matches (see the
  <b>Foreground color for potential matches</b> item on the <a class="command-link" href=
  'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.search.preferences.SearchPreferencePage)")'>
  <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General &gt; Search</b></a>
  preference page).</p>
  <p>In general, the Workbench uses the colors that are chosen by the operating system. To change these colors you can
  use the configuration tools provided by the system (for example, the Display Properties control panel on Windows, or
  the .Xdefaults file in Motif).</p>
  <h3 class="related">Related Concepts</h3><a href="../concepts/accessibility/fontsandcolors.htm">Fonts and Colors in
  Eclipse</a>
</body>
</html>
